package com.breaktian.assemble.eventbus;

import java.util.HashMap;

/**
 * Created by breaktian on 2016/10/26.
 */

public class Event {
    private String action;
    private HashMap data;

    public Event() {
    }

    public Event(String type) {
        this.action = type;
        data = new HashMap();
    }

    public String getAction() {
        return action;
    }




    public void put(Object key, Object value){
        data.put(key,value);
    }

    public Object get(Object key){
        return data.get(key);
    }

}
